#ifndef __APP_COMM_H__
#define __APP_COMM_H__

#include <stdint.h>
#include <string.h>
#include <stdbool.h>
#include <stdio.h>

#define FIRMWARE_VERSION_H          (1)
#define FIRMWARE_VERSION_L          (1)


uint8_t lrc_checksum(uint8_t *pData, uint32_t len);

int bleTransparentDataParsing(uint8_t *pData, uint16_t len);
int activelyReportFrameingSend(uint8_t *pData, uint8_t status);


int transparentTransFrameingSend(uint8_t *pSave, uint8_t *pData, uint16_t len);

int cmdAckFrameingSend(uint8_t *pSave, uint8_t type, uint8_t status);

#endif


